import GCJ_CLASS_TYPE = require('./../../common/GCJ_CLASS_TYPE');
import ObjConstrain = require('./ObjConstrain');
import ObjPosition = require('./ObjPosition');
import ObjPositionAlign = require('./ObjPositionAlign');
import ObjRelativePosType = require('./ObjRelativePosType');
import SJGObjectIndex = require('./SJGObjectIndex');
import SJGPageDescribe = require('./SJGPageDescribe');
import SJGPageContentDescribe = require('./SJGPageContentDescribe');
import FColor = require('./../color/FColor');
import FGradient = require('./../color/FGradient');
import SJGHead = require('./../cont/SJGHead');
import SJGPage = require('./../cont/SJGPage');
import SJGDocument = require('./../cont/SJGDocument');
import SJGDocumentBody = require('./../cont/SJGDocumentBody');
import ChartObj = require('./../obj/ChartObj');
import ImageObj = require('./../obj/ImageObj');
import GraphObj = require('./../obj/GraphObj');
import TextObj = require('./../obj/TextObj');
import TextExtObj = require('./../obj/TextExtObj');
import GroupObj = require('./../obj/GroupObj');
import TableExtObj = require('./../obj/TableExtObj');
import TableRowObj = require('./../obj/TableRowObj');
import TableCellObj = require('./../obj/TableCellObj');
import ReplaceGroupObj = require('./../obj/ReplaceGroupObj');

import ChartApperanceBase = require('./../obj/apperance/ChartApperanceBase');
import ChartApperanceLine = require('./../obj/apperance/ChartApperanceLine');
import ChartApperanceBar = require('./../obj/apperance/ChartApperanceBar');
import ChartApperancePie = require('./../obj/apperance/ChartApperancePie');


import SJGReplaceGroup=require('./../replace/SJGReplaceGroup');
import SJGReplaceGroupAdvance=require('./../replace/SJGReplaceGroupAdvance');
import SJGReplaceItemBase=require('./../replace/SJGReplaceItemBase');
import SJGReplaceItemChart=require('./../replace/SJGReplaceItemChart');
import SJGReplaceItemImage=require('./../replace/SJGReplaceItemImage');
import SJGSubGroupImageTextOld=require('./../replace/SJGSubGroupImageTextOld');
import SJGReplaceItemTable=require('./../replace/SJGReplaceItemTable');
import SJGReplaceItemTableRow=require('./../replace/SJGReplaceItemTableRow');
import SJGReplaceItemTableCell=require('./../replace/SJGReplaceItemTableCell');
import SJGReplaceItemText=require('./../replace/SJGReplaceItemText');
import SJGReplaceItemTitleText=require('./../replace/SJGReplaceItemTitleText');
import SJGSubGroupText=require('./../replace/SJGSubGroupText');
import SJGSubGroupImageText=require('./../replace/SJGSubGroupImageText');
import SJGReplaceItemGraph=require('./../replace/SJGReplaceItemGraph');

import Parser = require('./Parser');


export  = ParserClassLoader;

/**
 *
 * @author
 *
 */
class ParserClassLoader {
    public constructor() {
    }


    public  static loadKernelClass(){
        Parser.lib[GCJ_CLASS_TYPE.CLASS_TYPE_ObjConstrain]=ObjConstrain;
        Parser.lib[GCJ_CLASS_TYPE.CLASS_TYPE_ObjPosition]=ObjPosition;
        Parser.lib[GCJ_CLASS_TYPE.CLASS_TYPE_ObjPositionAlign]=ObjPositionAlign;
        Parser.lib[GCJ_CLASS_TYPE.CLASS_TYPE_SJGObjectIndex]=SJGObjectIndex;
        Parser.lib[GCJ_CLASS_TYPE.CLASS_TYPE_SJGPageDescribe]=SJGPageDescribe;
        Parser.lib[GCJ_CLASS_TYPE.CLASS_TYPE_SJGPageContentDescribe]=SJGPageContentDescribe;

        Parser.lib[GCJ_CLASS_TYPE.CLASS_TYPE_FColor]=FColor;
        Parser.lib[GCJ_CLASS_TYPE.CLASS_TYPE_FGradient]=FGradient;
        Parser.lib[GCJ_CLASS_TYPE.CLASS_TYPE_SJGHead]=SJGHead;
        Parser.lib[GCJ_CLASS_TYPE.CLASS_TYPE_SJGPage]=SJGPage;
        Parser.lib[GCJ_CLASS_TYPE.CLASS_TYPE_SJGDocument]=SJGDocument;
        Parser.lib[GCJ_CLASS_TYPE.CLASS_TYPE_SJGDocumentBody]=SJGDocumentBody;
        //Parser.lib[GCJ_CLASS_TYPE.CLASS_TYPE_SJGPageContent]=SJGPageContent;

        Parser.lib[GCJ_CLASS_TYPE.CLASS_TYPE_ChartObj]=ChartObj;
        Parser.lib[GCJ_CLASS_TYPE.CLASS_TYPE_ImageObj]=ImageObj;
        Parser.lib[GCJ_CLASS_TYPE.CLASS_TYPE_GraphObj]=GraphObj;
        Parser.lib[GCJ_CLASS_TYPE.CLASS_TYPE_TextObj]=TextObj;
        Parser.lib[GCJ_CLASS_TYPE.CLASS_TYPE_ReplaceGroupObj]=ReplaceGroupObj;
        Parser.lib[GCJ_CLASS_TYPE.CLASS_TYPE_GroupObj]=GroupObj;

        Parser.lib[GCJ_CLASS_TYPE.CLASS_TYPE_TableExtObj]=TableExtObj;
        Parser.lib[GCJ_CLASS_TYPE.CLASS_TYPE_TableRowObj]=TableRowObj;
        Parser.lib[GCJ_CLASS_TYPE.CLASS_TYPE_TableCellObj]=TableCellObj;

        Parser.lib[GCJ_CLASS_TYPE.CLASS_TYPE_TextExtObj]=TextExtObj;


        Parser.lib[GCJ_CLASS_TYPE.CLASS_TYPE_ChartApperanceBase]=ChartApperanceBase;
        Parser.lib[GCJ_CLASS_TYPE.CLASS_TYPE_ChartApperanceLine]=ChartApperanceLine;
        Parser.lib[GCJ_CLASS_TYPE.CLASS_TYPE_ChartApperanceBar]=ChartApperanceBar;
        Parser.lib[GCJ_CLASS_TYPE.CLASS_TYPE_ChartApperancePie]=ChartApperancePie;


        Parser.lib[GCJ_CLASS_TYPE.CLASS_TYPE_SJGReplaceGroup] = SJGReplaceGroup;
        Parser.lib[GCJ_CLASS_TYPE.CLASS_TYPE_SJGReplaceGroupAdvance] = SJGReplaceGroupAdvance;
        Parser.lib[GCJ_CLASS_TYPE.CLASS_TYPE_SJGReplaceItemBase] = SJGReplaceItemBase;
        Parser.lib[GCJ_CLASS_TYPE.CLASS_TYPE_SJGReplaceItemChart] = SJGReplaceItemChart;
        Parser.lib[GCJ_CLASS_TYPE.CLASS_TYPE_SJGReplaceItemImage] = SJGReplaceItemImage;
        Parser.lib[GCJ_CLASS_TYPE.CLASS_TYPE_SJGSubGroupImageTextOld] = SJGSubGroupImageTextOld;
        Parser.lib[GCJ_CLASS_TYPE.CLASS_TYPE_SJGReplaceItemTable] = SJGReplaceItemTable;
        Parser.lib[GCJ_CLASS_TYPE.CLASS_TYPE_SJGReplaceItemTableRow] = SJGReplaceItemTableRow;
        Parser.lib[GCJ_CLASS_TYPE.CLASS_TYPE_SJGReplaceItemTableCell] = SJGReplaceItemTableCell;
        Parser.lib[GCJ_CLASS_TYPE.CLASS_TYPE_SJGReplaceItemText] = SJGReplaceItemText;
        Parser.lib[GCJ_CLASS_TYPE.CLASS_TYPE_SJGReplaceItemTitleText] = SJGReplaceItemTitleText;
        Parser.lib[GCJ_CLASS_TYPE.CLASS_TYPE_SJGSubGroupText] = SJGSubGroupText;
        Parser.lib[GCJ_CLASS_TYPE.CLASS_TYPE_SJGSubGroupImageText] = SJGSubGroupImageText;
        Parser.lib[GCJ_CLASS_TYPE.CLASS_TYPE_SJGReplaceItemGraph]=SJGReplaceItemGraph;
    }

}//SJG_MARK_END-------------------------
    

